

<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>新闻详情</title>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta http-equiv="Cache-Control" content="no-transform">
		<meta name="format-detection" content="telephone=no">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<link rel="stylesheet" href="style/css/basic.css">
		<link rel="stylesheet" href="style/css/news_details.css" />
		<script type="text/javascript" src="style/plugin/mui/js/mui.min.js"></script>
		<script type="text/javascript" src="style/js/jquery-1.8.3.min.js"></script>
		<script type="text/javascript" src="style/mockjs/dist/mock.js"></script>
		<script type="text/javascript" src="style/js/vue.min.js"></script>
		<script type="text/javascript" src="style/js/vue-resource.js"></script>
		<script type="text/javascript" src="style/js/basic.js"></script>
	</head>

	<body>
		<div id="header">
			<h1>新闻详情</h1>
			<span class="backicon"></span>
		</div>
		<div class="body">
			<div class="message_show" id="newsContent">
				<h2>{{newInfo.title}}</h2>
				<span class="message_date">
					{{newInfo.date}}
				</span>
				<div class="message_content"> 
					<img :src="htp+newInfo.thumb_pic" v-if="newInfo!=''">
					<p v-html="newInfo.content"></p>
					<!--<p>为“树立中国特色旅游商品品牌，促进全国旅游商品创新，推动全国各省(区、市)旅游商品快速发展”举办的"2018中国特色旅游商品大赛"及参赛商品展示活动，是本届展会的核心看点之一。安徽金种子酒业股份有限公司选送的“福禄寿禧”酒和“吉祥如意”酒两款系列旅游商品，从全国1300多家企业选送的2万件参赛商品中脱颖而出，双获金奖，成为安徽酒企唯一获此殊荣的旅游商品。</p>
					<p>中国旅游协会旅游商品与装备分会秘书长陈斌在评选揭晓后说“荣获金奖的旅游商品必须具备三个属性：品质优秀、使用安全、定位精准。这次由阜阳市旅游局选送的金种子产品完全具备这三个属性，酒体品质优秀更是金种子的突出特点，荣获金奖，实至名归。”</p>-->
					
				</div>
			</div>
		</div> 
		<script>
			new Vue({
				el:"#newsContent",
				data:{
					newInfo:"",
					flag:1,
					htp:"",
					ticket:"",
				    sign:""
				},
				created:function(){
					var that=this
					that.ticket=localStorage.getItem("tick")
                    that.sign=localStorage.getItem("sig")
					that.htp=domain2;
				    mui.plusReady(function(){
					    var self=plus.webview.currentWebview();//获取页面传值
//					    var a=localStorage.getItem("nid")?localStorage.getItem("nid"):null
					    //请求新闻详情页面
					    that.$http.post(domain+"/news/getInfo?t="+that.ticket+"&sign="+that.sign,{id:self.name},{emulateJSON:true}).then(
				            function (res) {
				                // 处理成功的结果
				                if(res.body.code==1){  
				                  console.log(res.body)	
				                  that.newInfo=res.body.data;
				                } 
				            },function (res) {
				            // 处理失败的结果
				            console.log(res) 
				            }
				        );
			        	that.$http.post(domain+"/news/view?t="+that.ticket+"&sign="+that.sign,{id:self.name},{emulateJSON:true}).then(
				            function (res) {
				                // 处理成功的结果
				            },function (res) {
				            // 处理失败的结果
				            console.log(res) 
				            }
				        );	
					})	
				}
			})
		</script>
	</body>

</html>